package com.example.bausip;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.widget.Toast;

public class StaticEventInfoActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_static_event_info);
		Bundle extras = getIntent().getExtras();
		String value = "";
		if (extras != null) {
			value = extras.getString("eventName");
		}

		Toast.makeText(getApplicationContext(), "  ListItem : " + value,
				Toast.LENGTH_LONG).show();
	
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.static_event_info, menu);
		return true;
	}

}
